'use strict'
const path = require('path')

exports.mongoose = {
  enable: true,
  package: 'egg-mongoose',
}

exports.cors = {
  enable: true,
  package: 'egg-cors',
}

// exports.static = {
//   enable: true,
//   package: 'egg-static',
// };

// exports.validate= {
//   enable: true,
//   package: 'egg-validate',
// }

// exports.swaggerdoc= {
//   enable: true,
//   package: 'egg-swagger-doc',
// }

exports.sessionMongoose = {
  enable: true,
  package: 'egg-session-mongoose',
}

exports.mongooseAutoIncrement = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/mongoose-auto-increment'),
}

exports.jaxEgg = {
  enable: true,
  path: path.join(__dirname, '../jax-egg'),
}

exports.loader = {
  enable: true,
  path: path.join(__dirname, '../app/plugin/loader'),
}
